package com.maozai.common.exception;

public class NoStockException extends RuntimeException {
    private String skuId;
    public NoStockException(String skuId) {
        super("商品id：" + skuId + "没有足够的库存了");
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String  skuId) {
        this.skuId = skuId;
    }
}
